package cn.iocoder.yudao.module.famous.doctor.convert.agreement;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.agreement.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.agreement.AgreementDO;

/**
 * 协议文档 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface AgreementConvert {

    AgreementConvert INSTANCE = Mappers.getMapper(AgreementConvert.class);

    AgreementDO convert(AgreementCreateReqVO bean);

    AgreementDO convert(AgreementUpdateReqVO bean);

    AgreementRespVO convert(AgreementDO bean);

    List<AgreementRespVO> convertList(List<AgreementDO> list);

    PageResult<AgreementRespVO> convertPage(PageResult<AgreementDO> page);

    List<AgreementExcelVO> convertList02(List<AgreementDO> list);

}
